package com.hc;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
/**
 * 注解配置
 * @author H
 *
 */
@Component
public class AppliactionProperties {

	@Value("${test.name}")
	private String name;
	
	@Value("${test.age}")
	private Integer age;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	
	
}
